<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0 ,minimum-scale=1.0 ,user-scalable=no"/>
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>消息</title>
    <link rel="stylesheet" href="../css/reset.css"/>
    <link rel="stylesheet" href="../css/common.css"/>
    <link rel="stylesheet" href="../css/iconfont.css"/>
    <script src="../js/jquery-1.8.3.min.js"></script>
    <style>
        .content{}
        .content ul{}
        .content-mission{display: none;}
        .content ul li{position: relative;padding: 10px;}
        .content ul li a{display: block;overflow: hidden;}
        .content ul li .left{float: left;width: 60px;height: 60px;border-radius: 60px;background-size: cover;background-position: center}
        .content ul li .center{float: left;margin-left: 15px;}
        .content ul li .center .top{margin-top: 5px;}
        .content ul li .center .top .vip{color: #e60014;}
        .content ul li .center .top span{color: #e60014;font-weight: bold;}
        .content ul li .center .top .mission-name{color: #333;font-size: 15px;}
        .content ul li .center .top .icon-man{color: #049cce;}
        .content ul li .center .bottom{margin-top: 12px;}
        .content ul li .center .bottom .msg{color: #666;font-size: 14px;}
        .content ul li .center .bottom .price{color: #ffc10c;font-size: 14px;}
        .content ul li .right{float: right;}
        .content ul li .right .top{margin-top: 5px;text-align: right;}
        .content ul li .right .top .time{font-size: 14px;color: #666;}
        .content ul li .right .bottom{margin-top: 12px;}
        .content ul li .right .bottom .style-vip{color: #e60014;font-size: 12px;}
        .content ul li .right .bottom .style-vip i{font-size: 12px;}
        .content ul li .right .bottom .style-nor{color: #ffc10c;font-size: 14px;}

        .footer{position: relative;height: 50px;}
        .footer-fixed{position: fixed;z-index: 999;left: 0;bottom: 0;width: 100%;background-color: #faf9fe;}
        .footer-fixed ul{overflow: hidden;}
        .footer-fixed ul li{float: left;width: 50%;}
        .footer-fixed ul li .active{color: #ffc10c;}
        .footer-fixed ul li .active p{color: #ffc10c;}
        .footer-fixed ul li a{display: block;position: relative;margin: 0 auto;width: 30px;color: #888;padding: 3px 0;text-align: center;}
        .footer-fixed ul li a i{font-size: 24px;}
        .footer-fixed ul li a p{font-size: 12px;margin-top: 2px;}
        .footer-fixed ul li a span{display: none;position: absolute;top: 4px;right: 0;width: 8px;height: 8px;border-radius: 8px;background-color: red;}
    </style>
</head>
<body>
<script src="../js/overall_mask.js"></script>
    <header class="header header2">
        <div class="header-fixed">
            <div class="left">
                <a href="javascript:window.history.back();">
                    <i class="iconfont icon-arrowleft"></i>
                </a>
            </div>
            <div class="center">消息</div>
        </div>
    </header>
    <div class="content">
        <div class="content-msg">
            <ul>
                <li class="bottom-line">
                    <a href="../html/message_detail.html">
                        <div class="left face" style="background-image: url('../img/pic_renter.png')"></div>
                        <div class="center">
                            <div class="top">
                                <i class="vip iconfont icon-vip"></i>
                                <span class="name">小明</span>
                                <i class="iconfont icon-man"></i>
                            </div>
                            <div class="bottom">
                                <span class="msg">消息内容</span>
                            </div>
                        </div>
                        <div class="right">
                            <div class="top">
                                <span class="time">2016/03/04</span>
                            </div>
                        </div>
                    </a>
                </li>
                <li class="bottom-line">
                    <a href="../html/message_detail.html">
                        <div class="left face" style="background-image: url('../img/pic_renter.png')"></div>
                        <div class="center">
                            <div class="top">
                                <i class="vip iconfont icon-vip"></i>
                                <span class="name">小明</span>
                                <i class="iconfont icon-man"></i>
                            </div>
                            <div class="bottom">
                                <span class="msg">消息内容</span>
                            </div>
                        </div>
                        <div class="right">
                            <div class="top">
                                <span class="time">2016/03/04</span>
                            </div>
                        </div>
                    </a>
                </li>
                <li class="bottom-line">
                    <a href="../html/message_detail.html">
                        <div class="left face" style="background-image: url('../img/pic_renter.png')"></div>
                        <div class="center">
                            <div class="top">
                                <i class="vip iconfont icon-vip"></i>
                                <span class="name">小明</span>
                                <i class="iconfont icon-man"></i>
                            </div>
                            <div class="bottom">
                                <span class="msg">消息内容</span>
                            </div>
                        </div>
                        <div class="right">
                            <div class="top">
                                <span class="time">2016/03/04</span>
                            </div>
                        </div>
                    </a>
                </li>
                <li class="bottom-line">
                    <a href="../html/message_detail.html">
                        <div class="left face" style="background-image: url('../img/pic_renter.png')"></div>
                        <div class="center">
                            <div class="top">
                                <i class="vip iconfont icon-vip"></i>
                                <span class="name">小明</span>
                                <i class="iconfont icon-man"></i>
                            </div>
                            <div class="bottom">
                                <span class="msg">消息内容</span>
                            </div>
                        </div>
                        <div class="right">
                            <div class="top">
                                <span class="time">2016/03/04</span>
                            </div>
                        </div>
                    </a>
                </li>
            </ul>
        </div>
        <div class="content-mission">
            <ul>
                <li class="bottom-line">
                    <a href="../html/message_detail2.html">
                        <div class="left face" style="background-image: url('../img/pic_renter.png')"></div>
                        <div class="center">
                            <div class="top">
                                <p class="mission-name">任务内容简介</p>
                            </div>
                            <div class="bottom">
                                <span class="price">￥268元</span>
                            </div>
                        </div>
                        <div class="right">
                            <div class="top">
                                <span class="time">2016/03/04</span>
                            </div>
                            <div class="bottom">
                                <p class="style-vip">
                                    <i class="iconfont icon-vip"></i>会员抢单任务
                                </p>
                            </div>
                        </div>
                    </a>
                </li>
                <li class="bottom-line">
                    <a href="../html/message_detail2.html">
                        <div class="left face" style="background-image: url('../img/pic_renter.png')"></div>
                        <div class="center">
                            <div class="top">
                                <p class="mission-name">任务内容简介</p>
                            </div>
                            <div class="bottom">
                                <span class="price">￥268元</span>
                            </div>
                        </div>
                        <div class="right">
                            <div class="top">
                                <span class="time">2016/03/04</span>
                            </div>
                            <div class="bottom">
                                <p class="style-nor">有人投标</p>
                            </div>
                        </div>
                    </a>
                </li>
            </ul>
        </div>
    </div>
    <footer class="footer">
        <div class="footer-fixed">
            <ul>
                <li>
                    <a href="javascript:void(0);" class="msg-btn active">
                        <i class="iconfont icon-message"></i>
                        <p>消息</p>
                        <span style="display: block"></span>
                    </a>
                </li>
                <li>
                    <a href="javascript:void(0);" class="mission-btn">
                        <i class="iconfont icon-renwu"></i>
                        <p>任务</p>
                        <span></span>
                    </a>
                </li>
            </ul>
        </div>
    </footer>
</body>
    <script>
        $('.msg-btn').click(function(){
            if(!$(this).hasClass('active')){
                $(this).addClass('active');
                $('.mission-btn').removeClass('active');
                $('.content-msg').fadeIn();
                $('.content-mission').hide()
            }else{
            }
        });
        $('.mission-btn').click(function(){
            if(!$(this).hasClass('active')){
                $(this).addClass('active');
                $('.msg-btn').removeClass('active');
                $('.content-msg').hide();
                $('.content-mission').fadeIn()
            }
        })
    </script>
</html>